﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="NickInfo.aspx.cs" Inherits="NickInfo" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
<link type="text/css" rel="Stylesheet" href="Styles/nickinfo.css" />
    <script src="Scripts/nickinfo.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <asp:GridView ID="grvInfo" runat="server" AllowPaging="True" PageSize="50" AutoGenerateColumns="False" 
                onrowdatabound="grvInfo_RowDataBound" Width="960px" CellPadding="4" 
                ForeColor="#333333" GridLines="None" EnableViewState="False" 
                onrowcommand="grvInfo_RowCommand">
                <AlternatingRowStyle BackColor="White" />
                <Columns>
                    <asp:HyperLinkField DataTextField="dpURL" DataNavigateUrlFields="dpURL" 
                        Target="_blank" HeaderText="店铺首页" ItemStyle-Width="165" >

                    <ItemStyle Width="165px" />
                    </asp:HyperLinkField>

                    <asp:TemplateField HeaderText="掌柜旺旺" ItemStyle-Width="100">
                        <ItemTemplate>
                            <asp:HyperLink runat="server" ID="linkNickName">
                             <asp:Image ID="imgNickName" runat="server" />
                             </asp:HyperLink>

                             <asp:HyperLink runat="server" ID="lblVisitedNum"></asp:HyperLink>
                        </ItemTemplate>
                        <ItemStyle Width="100px" />
                    </asp:TemplateField>

                    <asp:TemplateField HeaderText="店铺信用" ItemStyle-Width="120">
                        <ItemTemplate>
                             <asp:ImageButton runat="server" ID="imgdpXy" CommandName="imgdpXy"/>
                            <asp:HyperLink runat="server" ID="linkdpXy">
                                <asp:Image runat="server" ID="imgxy" ImageUrl="~/images/xy.gif" BorderStyle="None" BorderWidth="0" ImageAlign="Right" />
                            </asp:HyperLink>
                        </ItemTemplate>
                        <ItemStyle Width="120px" />
                    </asp:TemplateField>

                     <asp:TemplateField HeaderText="创店时间">
                        <ItemTemplate>
                            <asp:LinkButton runat="server" ID="btnLinkCreateTime" CommandName="createTime" CommandArgument="createTime"></asp:LinkButton>
                        </ItemTemplate>
                        <ItemStyle Width="80px"/>
                    </asp:TemplateField>

                    <asp:TemplateField HeaderText="所属行业">
                        <ItemTemplate>
                            <asp:LinkButton runat="server" ID="btnLinkHy" CommandName="hanye" CommandArgument="hanye"></asp:LinkButton>
                        </ItemTemplate>
                        <ItemStyle Width="80px"/>
                    </asp:TemplateField>

                    <asp:BoundField DataField="location" HeaderText="所在地" ItemStyle-Width="90" >

                    <ItemStyle Width="110px" />
                    </asp:BoundField>

                    <asp:TemplateField HeaderText="店铺版本">
                        <ItemTemplate>
                            <asp:LinkButton runat="server" ID="btnLinkVer" CommandName="dpVer" CommandArgument="dpVer"></asp:LinkButton>
                        </ItemTemplate>
                        <ItemStyle Width="140px"/>
                    </asp:TemplateField>
                    
                    <asp:TemplateField HeaderText="店铺设计师">
                        <ItemTemplate>
                            <asp:LinkButton runat="server" ID="btnLinkSjName" CommandName="sjName" CommandArgument="sjName"></asp:LinkButton>
                        </ItemTemplate>
                        <ItemStyle Width="100px"/>
                    </asp:TemplateField>

                    <asp:BoundField DataField="cjTime" HeaderText="添加时间" ItemStyle-Width="80" 
                        DataFormatString="{0:d}" >
                    <ItemStyle Width="80px" />
                    </asp:BoundField>
                </Columns>

                <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
                <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
                <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                <SortedAscendingCellStyle BackColor="#FDF5AC" />
                <SortedAscendingHeaderStyle BackColor="#4D0000" />
                <SortedDescendingCellStyle BackColor="#FCF6C0" />
                <SortedDescendingHeaderStyle BackColor="#820000" />

             
           </asp:GridView>
           <table cellpadding="0" cellspacing="0">
        <tr>
          <td style="text-align: right"> 第 <asp:Label ID="lblPageIndex" runat="server" Text=""></asp:Label> 页
           共 <asp:Label ID="lblPageCount" runat="server" Text=""></asp:Label> 页
           <asp:LinkButton ID="btnFirst" runat="server" CausesValidation="False" CommandArgument="First" CommandName="Page" Text="首页" oncommand="btn_Command"></asp:LinkButton>
          <asp:LinkButton ID="btnPrev" runat="server" CausesValidation="False" CommandArgument="Prev"
          CommandName="Page" Text="上一页" oncommand="btn_Command"></asp:LinkButton>
           <asp:LinkButton ID="btnNext" runat="server" CausesValidation="False" CommandArgument="Next"
            CommandName="Page" Text="下一页" oncommand="btn_Command"></asp:LinkButton>
             <asp:LinkButton ID="btnLast" runat="server" CausesValidation="False" CommandArgument="Last"
            CommandName="Page" Text="尾页" oncommand="btn_Command"></asp:LinkButton>
          <asp:TextBox ID="txtNewPageIndex" runat="server"  Width="60px"></asp:TextBox>
          <asp:LinkButton ID="btnGo" runat="server" CausesValidation="False" CommandArgument="-1" CommandName="Page" Text="GO" oncommand="btn_Command"></asp:LinkButton>&nbsp;&nbsp;
             共有掌柜信息：<asp:Label ID="lblRecNum" runat="server"></asp:Label> 条
         </td>
      </tr>
    </table>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>

